package com.atguigu.spzx.manager.service;

import com.atguigu.spzx.model.entity.sys.SysRole;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface SysRoleService {
    PageInfo<SysRole> page(Integer pageNum, Integer pageSize, String keyword);

    void deleteById(Long id);

    SysRole getById(Long id);

    void updateById(SysRole sysRole);

    void save(SysRole sysRole);

    List<SysRole> findRolesAndIsChecked(Long userId);
}
